/-docs
/-editor
/-files
/-files-old
/-imports
/-layout
/-storage
/-storage/attached
/-storage/attached/api
/-storage/attached/dom
DetectStorage.ts
LoadStorage.ts
UpdateStorage.ts
/-storage/attached/indexedDB
/-storage/attached/localStorage
/-storage/attached/webSQL
/-tests ...
/-tests/files
/-tests/storage
TestCase.html
TestCase.ts
TestPage.css
TestPage.html
TestPage.ts
_sampleTests.ts
teapo-tests.html
teapo-tests.ts
/-typings
TypeScriptService.ts
functions.ts
ko.ts
persistence.api.ts
persistence.ts
shell.ts
teapo.html
teapo.ts
 
1
<!doctype html>
2
<html>
3
<head>
4
<title>Teapo tests v0.4h</title>
5
<meta name="viewport" content="width=800">
6
<style data-path='/tests/TestPage.css'>###tests/TestPage.css###</style>
7
</head>
8
<body>
9
10
11
12
13
<!-- Knockout HTML templates -->
14
<script id=TestPage data-path='/tests/TestPage.html' type='text/html'>###tests/TestPage.html###</script>
15
<script id=TestCase data-path='/tests/TestCase.html' type='text/html'>###tests/TestCase.html###</script>
16
17
18
<!--Knockout and CodeMirror (latter needed for execution of some static init code)-->
19
<script data-path='/imports/codemirror/codemirror.js'>###imports/codemirror/codemirror.js###</script>
20
<script data-path='/imports/knockout/knockout-3.0.0.js'>###imports/knockout/knockout-3.0.0.js###</script>
21
22
<script id=teapo-script>###teapo.ts:build###</script>
23
24
<!-- stick it in late, so all the script errors have valid line numbers -->
25
<div class=teapo-page></div>
26
27
<script>
28
  var teapo;
29
  if (!teapo || !teapo.testApp || !teapo.testApp.run) {
30
    alert('teapo.testApp undefined');
31
//     try {
32
      var teapoScript = document.getElementById('teapo-script');
33
      eval(teapoScript.innerHTML);
34
//     }
35
//     catch (error) {
36
//       alert(error.message+' '+(error.stack ? error.stack : error));
37
//     }
38
  }
39
  else {
40
    teapo.testApp.run();
41
  }
42
</script>
43
44
</body>
51:0